let nav=['index','course','students']
var dataform={}
async function hideH5(navList,classname){
    console.log(classname);
    for (const i of navList){
        $(`.${i}`).hide()
    }

    $(`.${classname}`).show()
}
$('#index').click(async ()=>{
    await hideH5(navList=nav,classname='index')
   
})
$('#course').click(async ()=>{
    await hideH5(navList=nav,classname='course')
})
$('#students').click(async ()=>{
    await hideH5(navList=nav,classname='students')
})
